package com.bootdo.api.domain;

import java.sql.Timestamp;

public class Response {
	
	private String status;
	private String msg;
	private String data;
	private String RequestTime;
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public String getRequestTime() {
		return RequestTime;
	}
	public void setRequestTime(String requestTime) {
		RequestTime = requestTime;
	}
	public Response(){}
	
	public String toString(){
		return "status:" + "status" + "msg:" + "msg" + "data:" + "data" + "RequestTime" + "RequestTime";
	}
	
	public Response(String status, String msg, String data, String RequestTime){
		Timestamp timestamp = new Timestamp(System.currentTimeMillis());
		String time = timestamp.toString();
		this.msg = msg;
		this.data = data;
		this.RequestTime = time;
		this.status = status;
	}
}
